from pydantic_settings import BaseSettings
from datetime import date
import os


class PsychoSettings(BaseSettings):
    application: str = 'Psychological and Psychiatric Rating Scales'
    webmaster: str = '28485690@qq.com'
    created: date = '2024-10-09'


class DSM5Settings(BaseSettings):
    application: str = 'DSM-5 Mental Disorders'
    webmaster: str = '28485690@qq.com'
    created: date = '2024-10-09'


class ProfileSettings(BaseSettings):
    application: str = 'User Profiles'
    webmaster: str = '28485690@qq.com'
    created: date = '2024-10-09'


class ClinicSettings(BaseSettings):
    application: str = 'Psychological and Psychiatric Clinic System'
    webmaster: str = '28485690@qq.com'
    created: date = '2024-10-09'


class ServerSettings(BaseSettings):
    production_server: str
    prod_port: int
    development_server: str
    dev_port: int

    class Config:
        env_file = os.getcwd() + \
            '/configuration/OpenPsycho_settings.properties'
